﻿<UserControl x:Class="flattiverseGameClient.LoginControlView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:local="clr-namespace:flattiverseGameClient"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300" Width="360" Height="105">
    <UserControl.Resources>
        <local:LoginControlViewModel x:Key="LoginControlViewModelKey"/>
        
    </UserControl.Resources>
    <Grid>
        <Label Content="Username" Height="28" HorizontalAlignment="Left" Margin="6,6,0,0" Name="label1" VerticalAlignment="Top" />
        <Label Content="Password" Height="28" HorizontalAlignment="Left" Margin="6,40,0,0" Name="label2" VerticalAlignment="Top" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="68,8,0,0" Name="tb_username" VerticalAlignment="Top" Width="114" Text="{Binding Source={StaticResource LoginControlViewModelKey}, Path=UserName}" />
        <!--PasswordBox-->
        <TextBox  Height="23" HorizontalAlignment="Left" Margin="68,45,0,0" Name="tb_password" VerticalAlignment="Top" Width="114" Text="{Binding Source={StaticResource LoginControlViewModelKey}, Path=Password}" />
        <!-- Password="{Binding Password}"-->
        <Button Content="Login" Height="23" HorizontalAlignment="Left" Margin="6,75,0,0" Name="bt_login" VerticalAlignment="Top" Width="75" Command="{Binding Source={StaticResource LoginControlViewModelKey}, Path=LoginCmd, Mode=OneWay}" />
        <Button Content="Logout" Height="23" HorizontalAlignment="Left" Margin="87,75,0,0" Name="bt_logout" VerticalAlignment="Top" Width="75"  Command="{Binding Source={StaticResource LoginControlViewModelKey}, Path=LogoutCmd, Mode=OneWay}"/>
        <Ellipse Height="15" HorizontalAlignment="Left" Margin="167,81,0,0" Name="loginStatusLED" Stroke="Black" VerticalAlignment="Top" Width="15" Fill="Red" />
        <Label Content="Acc. Name;" FontSize="10" Height="15" HorizontalAlignment="Left" Margin="187,4,0,0" Name="label24" Padding="0" VerticalAlignment="Top" Width="50" />
        <Label Background="#08000000" Content="{Binding Source={StaticResource LoginControlViewModelKey}, Path=AccountName}" FontSize="10" Height="15" HorizontalAlignment="Left" Margin="243,4,0,0" Name="l_account_accountName" Padding="0" VerticalAlignment="Top" Width="70" />
        <Label Content="Online Time:" FontSize="10" Height="15" HorizontalAlignment="Left" Margin="187,36,0,0" Name="label29" Padding="0" VerticalAlignment="Top" Width="50" />
        <Label Background="#08000000" Content="Universe:" FontSize="10" Height="15" HorizontalAlignment="Left" Margin="243,36,0,0" Name="l_account_onlineTime" Padding="0" VerticalAlignment="Top" Width="70" />
        <Label Background="#08000000" Content="{Binding Source={StaticResource LoginControlViewModelKey}, Path=Platform}" FontSize="10" Height="15" HorizontalAlignment="Left" Margin="243,20,0,0" Name="l_account_platform" Padding="0" VerticalAlignment="Top" Width="70" />
        <Label Background="#08000000" Content="Universe:" FontSize="10" Height="15" HorizontalAlignment="Left" Margin="243,52,0,0" Name="l_account_alltimeKills" Padding="0" VerticalAlignment="Top" Width="70" />
        <Label Content="All Deaths:" FontSize="10" Height="15" HorizontalAlignment="Left" Margin="187,68,0,0" Name="lable74" Padding="0" VerticalAlignment="Top" Width="50" />
        <Label Content="past Ticks:" FontSize="10" Height="15" HorizontalAlignment="Left" Margin="187,85,0,0" Name="label36" Padding="0" VerticalAlignment="Top" Width="50" />
        <Label Background="#08000000" Content="Universe:" FontSize="10" Height="15" HorizontalAlignment="Left" Margin="243,85,0,0" Name="l_account_pastTicks" Padding="0" VerticalAlignment="Top" Width="70" />
        <Label Background="#08000000" Content="Universe:" FontSize="10" Height="15" HorizontalAlignment="Left" Margin="243,68,0,0" Name="l_account_alltimeDeaths" Padding="0" VerticalAlignment="Top" Width="70" />
        <Label Content="Platform:" FontSize="10" Height="15" HorizontalAlignment="Left" Margin="187,20,0,0" Name="label41" Padding="0" VerticalAlignment="Top" Width="50" />
        <Label Content="All Kills:" FontSize="10" Height="15" HorizontalAlignment="Left" Margin="187,52,0,0" Name="label42" Padding="0" VerticalAlignment="Top" Width="50" />
        <Ellipse Fill="Red" Height="15" HorizontalAlignment="Left" Margin="318,23,0,0" Name="e_serverLoad" Stroke="Black" VerticalAlignment="Top" Width="15" ToolTip="Server Load" />
        <Ellipse Fill="Red" Height="15" HorizontalAlignment="Left" Margin="318,4,0,0" Name="e_serverPing" Stroke="Black" VerticalAlignment="Top" Width="15" ToolTip="Ping" />
        <Ellipse Fill="Red" Height="15" HorizontalAlignment="Left" Margin="339,4,0,0" Name="e_myPing" Stroke="Black" ToolTip="Ping" VerticalAlignment="Top" Width="15" />
        <Border Background="Red" Height="15" HorizontalAlignment="Left" Margin="318,85,0,0" Name="b_game" BorderBrush="Black" VerticalAlignment="Top" Width="15" BorderThickness="1">
            <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center">G</TextBlock>
        </Border>
        <Border Background="Red" Height="15" HorizontalAlignment="Left" Margin="339,85,0,0" Name="b_chat" BorderBrush="Black" VerticalAlignment="Top" Width="15" BorderThickness="1">
            <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center">C</TextBlock>
        </Border>
        <Border Background="Red" Height="15" HorizontalAlignment="Left" Margin="318,66,0,0" Name="b_web" BorderBrush="Black" VerticalAlignment="Top" Width="15" BorderThickness="1">
            <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center">W</TextBlock>
        </Border>
        <Border Background="Red" Height="15" HorizontalAlignment="Left" Margin="339,66,0,0" Name="b_forum" BorderBrush="Black" VerticalAlignment="Top" Width="15" BorderThickness="1">
            <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center">F</TextBlock>
        </Border>
    </Grid>
</UserControl>
